package cn.lili.modules.store.entity.dos;

import cn.lili.mybatis.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 店铺
 *
 * @author pikachu
 * @since 2022-08-09 14:31:47
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("li_store_zft")
@ApiModel(value = "店铺直付通二级商户")
@NoArgsConstructor
public class StoreZft extends BaseEntity {

    private static final long serialVersionUID = -2926254671161769311L;
    @ApiModelProperty(value = "店铺ID")
    private String storeId;
    @ApiModelProperty(value = "提交申请时间")
    private Date applyTime;
    @ApiModelProperty(value = "进件请求参数")
    private String bizContent;

    @ApiModelProperty(value = "申请单ID")
    private String orderId;

    @ApiModelProperty(value = "二级商户ID")
    private String smid;

    @ApiModelProperty(value = "外部商户ID")
    private String externalId;

    @ApiModelProperty(value = "审核备注信息")
    private String memo;

    @ApiModelProperty(value = "申请总体状态", notes = "申请总体状态。99:已完结;-1:失败;031:审核中;0:未提交")
    private String status;

    @ApiModelProperty(value = "风控审核状态", notes = "风控审核状态。CREATE：已创建待审批、SKIP：跳过风控审批步骤、PASS：风控审核通过、REJECT：风控审批拒绝")
    private String fkAudit;

    @ApiModelProperty(value = "风控审批备注", notes = "风控审批备注，如有则返回")
    private String fkAuditMemo;

    @ApiModelProperty(value = "客资审核状态", notes = "客资审核状态。CREATE：已创建待审批、SKIP：跳过客资审批步骤、PASS：客资审核通过、REJECT：客资审批拒绝")
    private String kzAudit;

    @ApiModelProperty(value = "客资审批备注", notes = "客资审批备注，如有则返回")
    private String kzAuditMemo;

    @ApiModelProperty(value = "二级商户确认状态", notes = "二级商户确认状态。CREATE：已发起二级商户确认、SKIP：无需确认、FAIL：签约失败、NOT_CONFIRM：商户未确认、FINISH签约完成")
    private String subConfirm;

    @ApiModelProperty(value = "卡编号", notes = "进件生成的卡编号，在发起结算时可以作为结算账号")
    private String cardAliasNo;

    @ApiModelProperty(value = "本申请单的请求类型", notes = "本申请单的请求类型。一般可选值包括ZHIFUTONG_CONSULT（直付通商户预校验）/ZHIFUTONG_CREATE（直付通商户创建）/ZHIFUTONG_MODIFY（直付通商户修改）")
    private String applyType;

    @ApiModelProperty(value = "是否开通线上预授权", notes = "是否开通线上预授权")
    private Boolean appPreAuth;

    @ApiModelProperty(value = "是否开通线下预授权", notes = "是否开通线下预授权")
    private Boolean facePreAuth;

    @ApiModelProperty(value = "当面付权限版本", notes = "判断个人当面付权限版本，返回TRUE时表示是标准版，返回FALSE表示受限版")
    private Boolean isFaceLimit;

    @ApiModelProperty(value = "失败理由", notes = "申请单处理失败时，通过此此段返回具体的失败理由；与kf_audit_memo和kz_audit_memo配合使用")
    private String reason;


}
